
import {BaseVo} from "./BaseVo"
export class UserVo extends BaseVo {
	UserToken: string;
	admin_id: number;
	admin_username: string = '';
	admin_pwd: string = '';
	admin_pwd_salt: string;
	admin_changepwd: string;
	admin_email: string;
	admin_realname: string;
	admin_avatar: string;
	admin_tel: string;
	admin_hits: number;
	admin_ip: string;
	admin_time: number;
	admin_last_ip: string;
	admin_last_time: number;
	admin_addtime: number;
	admin_mdemail: number;
	admin_open: number;
	member_id: number;
	poplink: number;
	wx_num: string;
	alipay_num: string;
	idcard: string;
	pid: number;;
	ppid: number;
	campaign_price_id: number;
	campaign_price: number;
	campaign_tc_price: number;
	money: number;

  
	private _fullName: string;
	get fullName(): string {
		return this._fullName;
	}

	set fullName(newName: string) {
		if (this.admin_id && this.admin_id == 12) {
			this._fullName = newName;
		}
		else {
			alert("Error: Unauthorized update of employee!");
		}
	}
}		
